package com.show.business.integrate.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.show.business.common.core.domain.AjaxResult;
import com.show.business.integrate.bean.SmsMessage;
import com.show.business.integrate.mapper.SmsMessageMapper;
import com.show.business.integrate.service.ISmsMessageService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author dvlp
 * @since 2024-10-15
 */
@Service
public class SmsMessageServiceImpl extends ServiceImpl<SmsMessageMapper, SmsMessage> implements ISmsMessageService {
    @Override
    public List<SmsMessage> getList(SmsMessage smsMessage) {
        return baseMapper.getList(smsMessage);
    }

    @Override
    public AjaxResult getInfo(String id) {
        return AjaxResult.success(baseMapper.getInfo(id));
    }
}
